<script type="text/javascript">$(function () {
	var url = '${contextPath}script/oa/documentInfo.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			aidQueryOrgan_documentInfo();
		}
	});
	$('#aidQueryForm').find("input:checkbox, input:radio").not('input.ibtn').uniform();
});
</script>

<div class="widget" style="margin:0px;">
	<div>
		<h3 class="title" style="display:inline-block">请选择公开机构</h3>
		<h3 class="title" style="float:right;">按钮说明：
			<a class="btn" href="javascript:;"><i class="icon-plus-sign"></i> 增加</a>
			<a class="btn" href="javascript:;"><i class="icon-remove-sign"></i> 删除</a>
		</h3>
	</div>
	<input type="hidden" id="og_o" value="${p}"/>
	<div class="widget-content">
		<div class="table-title">
			<form id="aidQueryForm">
				<table class="search_term_table">
					<tr>
						<th style="width: 50px;">机构名称</th>
						<td style="width: 120px;">
							<input type="text" class="txt_organ_name" name="name" />
						</td>
						<td style="text-align:right; width:160px;">
							<a class="btn btn-info" href="javascript:;" onclick="javascript:aidQueryOrgan_documentInfo();"><i class="-icon-search-5"></i> 查  询</a>
							<a class="btn btn-info" href="javascript:;" onclick="javascript:chooseOrgan_documentInfo();"><i class="icon-ok-circle"></i> 选择完成</a>
						</td>
					</tr>
				</table>
			</form>
			<div>
				<div id="aidQueryResultList" style="width:550px; float:left;"></div>
				<table class="table boo-table table-striped table-content table-hover bg-blue-light" style="width:370px; float:right;">
					<thead>
						<tr><th colspan="3" scope="col">已选择机构</th></tr>
					</thead>
					<tbody id="selectedListBody">
						
					</tbody>
				</table>
			</div>
		</div>
	</div>
</div>
<input type="hidden" id="t" value="${(type)!''}"/>
<input type="hidden" id="old_oc" value="${(a)!''}"/>
<table id="tempTable" style="display:none;">
	<tr class="rep">
		<td class="n"></td>
		<td class="c"></td>
		<td style="width:30px;">
		<a class="btn btn-small btn-noradius" href="javascript:;" onclick="javascript: deleteOrgan_documentInfo($(this));">
			<i class="icon-remove-sign"></i>
		</a>
			<input type="hidden" class="oc" value="" />
			<input type="hidden" class="on" value="" />
		</td>
	</tr>
</table>